import re
s = 'geetest_1705320742414({"status": "success"})'
print(re.match('geetest_\d+\((.*?)\)', s).groups()[0])